Method and apparatus for constructing a speech filter using estimates of clean speech and noise

ABSTRACT

A method and apparatus identify a clean speech signal from a noisy speech signal. To do this, a clean speech value and a noise value are estimated from the noisy speech signal. The clean speech value and the noise value are then used to define a gain on a filter. The noisy speech signal is applied to the filter to produce the clean speech signal. Under some embodiments, the noise value and the clean speech value are used in both the numerator and the denominator of the filter gain, with the numerator being guaranteed to be positive.

BACKGROUND OF THE INVENTION

The present invention relates to speech processing. In particular, the present invention relates to speech enhancement.

In speech recognition, it is common to enhance the speech signal by removing noise before performing speech recognition. Under some systems, this is done by estimating the noise in the speech signal and subtracting the noise from the noisy speech signal. This technique is typically referred to as spectral subtraction because it is performed in the spectral domain.

Since it is impossible to estimate the noise in a speech signal perfectly, any estimate that is used in spectral subtraction will have some amount of error. Because of this error, it is possible that the estimate of the noise in the noisy speech signal will be larger than the noisy speech signal for some frames of the signal. This would produce a negative value for the “clean” speech, which is physically impossible.

To avoid this, spectral subtraction systems rely on a set of parameters that are set by hand to allow for maximum noise reduction while ensuring a stable system. Relying on such parameters is undesirable since they are typically noise-source dependent and thus must be hand-tuned for each type of noise-source.

Other systems attempt to enhance the speech signal using a Weiner filter to filter out the noise in the speech signal. In such systems, the gain of the Weiner filter is generally based on a signal-to-noise ratio. To arrive at the proper gain value, the level of the noise in the signal must be determined.

One common technique for determining the level of noise is to estimate the noise during non-speech segments in the speech signal. This technique is less than desirable because it not only requires a correct estimate of the noise during the non-speech segments, it also requires that the non-speech segments be properly identified as not containing speech. In addition, this technique depends on the noise being stationary (non-changing). If the noise is changing over time, the estimate of the noise will be wrong and the filter will not perform properly.

Another system for enhancing speech attempts to identify a clean speech signal using a probabilistic framework that provides a Minimum Mean Square Error (MMSE) estimate of the clean signal given a noisy speech signal. Unfortunately, such systems can provide poor estimates of the clean speech signal at times, especially when the signal-to-noise ratio is low. As a result, using the clean speech estimates directly in speech recognition can result in poor recognition accuracy.

Thus, a system is needed that does not require as much hand-tuning of parameters as in spectral subtraction while avoiding the poor estimates that sometimes occur in MMSE estimation.

SUMMARY OF THE INVENTION

A method and apparatus identify a clean speech signal from a noisy speech signal. To do this, a clean speech value and a noise value are estimated from the noisy speech signal. The clean speech value and the noise value are then used to define a gain on a filter. The noisy speech signal is applied to the filter to produce the clean speech signal. Under some embodiments, the noise value and the clean speech value are used in both the numerator and the denominator of the filter gain, with the numerator being guaranteed to be positive.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a general computing environment in which the present invention may be practiced.

FIG. 2 is a block diagram of a mobile device in which the present invention may be practiced.

FIG. 3 is a block diagram of a speech enhancement system under one embodiment of the present invention.

FIG. 4 is a flow diagram of a speech enhancement method under one embodiment of the present invention.

FIG. 5 is a flow diagram of a simplified method for determining clean speech and noise estimates under one embodiment of the present invention.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

FIG. 1 illustrates an example of a suitable computing system environment 100 on which the invention may be implemented. The computing system environment 100 is only one example of a suitable computing environment and is not intended to suggest any limitation as to the scope of use or functionality of the invention. Neither should the computing environment 100 be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary operating environment 100.

The invention is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, telephony systems, distributed computing environments that include any of the above systems or devices, and the like.

The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention is designed to be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules are located in both local and remote computer storage media including memory storage devices.

With reference to FIG. 1, an exemplary system for implementing the invention includes a general-purpose computing device in the form of a computer 110. Components of computer 110 may include, but are not limited to, a processing unit 120, a system memory 130, and a system bus 121 that couples various system components including the system memory to the processing unit 120. The system bus 121 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus also known as Mezzanine bus.

Computer 110 typically includes a variety of computer readable media. Computer readable media can be any available media that can be accessed by computer 110 and includes both volatile and nonvolatile media, removable and non-removable media. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by computer 110. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of any of the above should also be included within the scope of computer readable media.

The system memory 130 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 131 and random access memory (RAM) 132. A basic input/output system 133 (BIOS), containing the basic routines that help to transfer information between elements within computer 110, such as during start-up, is typically stored in ROM 131. RAM 132 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 120. By way of example, and not limitation, FIG. 1 illustrates operating system 134, application programs 135, other program modules 136, and program data 137.

The computer 110 may also include other removable/non-removable volatile/nonvolatile computer storage media. By way of example only, FIG. 1 illustrates a hard disk drive 141 that reads from or writes to non-removable, nonvolatile magnetic media, a magnetic disk drive 151 that reads from or writes to a removable, nonvolatile magnetic disk 152, and an optical disk drive 155 that reads from or writes to a removable, nonvolatile optical disk 156 such as a CD ROM or other optical media. Other removable/non-removable, volatile/nonvolatile computer storage media that can be used in the exemplary operating environment include, but are not limited to, magnetic tape cassettes, flash memory cards, digital versatile disks, digital video tape, solid state RAM, solid state ROM, and the like. The hard disk drive 141 is typically connected to the system bus 121 through a non-removable memory interface such as interface 140, and magnetic disk drive 151 and optical disk drive 155 are typically connected to the system bus 121 by a removable memory interface, such as interface 150.

The drives and their associated computer storage media discussed above and illustrated in FIG. 1, provide storage of computer readable instructions, data structures, program modules and other data for the computer 110. In FIG. 1, for example, hard disk drive 141 is illustrated as storing operating system 144, application programs 145, other program modules 146, and program data 147. Note that these components can either be the same as or different from operating system 134, application programs 135, other program modules 136, and program data 137. Operating system 144, application programs 145, other program modules 146, and program data 147 are given different numbers here to illustrate that, at a minimum, they are different copies.

A user may enter commands and information into the computer 110 through input devices such as a keyboard 162, a microphone 163, and a pointing device 161, such as a mouse, trackball or touch pad. Other input devices (not shown) may include a joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit 120 through a user input interface 160 that is coupled to the system bus, but may be connected by other interface and bus structures, such as a parallel port, game port or a universal serial bus (USB). A monitor 191 or other type of display device is also connected to the system bus 121 via an interface, such as a video interface 190. In addition to the monitor, computers may also include other peripheral output devices such as speakers 197 and printer 196, which may be connected through an output peripheral interface 195.

The computer 110 is operated in a networked environment using logical connections to one or more remote computers, such as a remote computer 180. The remote computer 180 may be a personal computer, a hand-held device, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 110. The logical connections depicted in FIG. 1 include a local area network (LAN) 171 and a wide area network (WAN) 173, but may also include other networks. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets and the Internet.

When used in a LAN networking environment, the computer 110 is connected to the LAN 171 through a network interface or adapter 170. When used in a WAN networking environment, the computer 110 typically includes a modem 172 or other means for establishing communications over the WAN 173, such as the Internet. The modem 172, which may be internal or external, may be connected to the system bus 121 via the user input interface 160, or other appropriate mechanism. In a networked environment, program modules depicted relative to the computer 110, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation, FIG. 1 illustrates remote application programs 185 as residing on remote computer 180. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.

FIG. 2 is a block diagram of a mobile device 200, which is an exemplary computing environment. Mobile device 200 includes a microprocessor 202, memory 204, input/output (I/O) components 206, and a communication interface 208 for communicating with remote computers or other mobile devices. In one embodiment, the afore-mentioned components are coupled for communication with one another over a suitable bus 210.

Memory 204 is implemented as non-volatile electronic memory such as random access memory (RAM) with a battery back-up module (not shown) such that information stored in memory 204 is not lost when the general power to mobile device 200 is shut down. A portion of memory 204 is preferably allocated as addressable memory for program execution, while another portion of memory 204 is preferably used for storage, such as to simulate storage on a disk drive.

Memory 204 includes an operating system 212, application programs 214 as well as an object store 216. During operation, operating system 212 is preferably executed by processor 202 from memory 204. Operating system 212, in one preferred embodiment, is a WINDOWS® CE brand operating system commercially available from Microsoft Corporation. Operating system 212 is preferably designed for mobile devices, and implements database features that can be utilized by applications 214 through a set of exposed application programming interfaces and methods. The objects in object store 216 are maintained by applications 214 and operating system 212, at least partially in response to calls to the exposed application programming interfaces and methods.

Communication interface 208 represents numerous devices and technologies that allow mobile device 200 to send and receive information. The devices include wired and wireless modems, satellite receivers and broadcast tuners to name a few. Mobile device 200 can also be directly connected to a computer to exchange data therewith. In such cases, communication interface 208 can be an infrared transceiver or a serial or parallel communication connection, all of which are capable of transmitting streaming information.

Input/output components 206 include a variety of input devices such as a touch-sensitive screen, buttons, rollers, and a microphone as well as a variety of output devices including an audio generator, a vibrating device, and a display. The devices listed above are by way of example and need not all be present on mobile device 200. In addition, other input/output devices may be attached to or found with mobile device 200 within the scope of the present invention.

The present invention provides a method and apparatus for enhancing a speech signal. FIG. 3 provides a block diagram of the system and FIG. 4 provides a flow diagram of the method of the present invention.

At step 400, a noisy analog signal 300 is converted into a sequence of digital values that are grouped into frames by a frame constructor 302. Under one embodiment, the frames are constructed by applying analysis windows to the digital values where each analysis window is a 25 millisecond hamming window, and the centers of the windows are spaced 10 milliseconds apart.

At step 402, a frame of the digital speech signal is provided to a Fast Fourier Transform 304 to compute the phase and magnitude of a set of frequencies found in the frame. The magnitude or the square of the magnitude of each FFT is then selected/determined by block 305 at step 403.

At step 404, the magnitude values are optionally applied to a Mel-scale filter bank 306, which applies perceptual weighting to the frequency distribution and reduces the number frequency bins that are associated with the frame. The Mel-scale filter bank is an example of a frequency-based transform. In such transforms, the level of filtering applied to a frequency is based on the identity of the frequency or the magnitudes of the frequencies are scaled and combined to form fewer parameters. Thus, in FIG. 3, if the frequency values are not applied to the Mel-scale filter bank, they are not applied to a frequency-based transform.

A log function 310 is applied to the values from magnitude block 305 or Mel-Scale filter bank 306 (if the filter bank is used) at step 408 to compute the logarithm of-each frequency magnitude.

At step 410, the logarithms of each frequency are applied to a discrete cosine transform (DCT) 312 to form a set of values that are represented as an observation feature vector. If the Mel-scale filter bank was used, the observation vector is referred to as a Mel-Frequency Cepstral Coefficient (MFCC) vector. If the Mel-scale filter bank was not used, the observation vector is referred to as a High Resolution Cepstral Coefficient (HRCC) vector, since it retains all of the frequency information from the input signal.

The observation feature vector is applied to a maximum likelihood (ML) estimation block 314 at step 412. ML estimation block 314 builds a maximum likelihood estimation of a noise model based on a sequence of observation feature vectors that represent an utterance, typically a sentence. Under one embodiment, this noise model is a single Gaussian distribution that is described by its mean and covariance.

The noise model and the observation feature vectors are provided to a clean speech and noise estimator 316 together with parameters 315 that describe a prior clean speech model. Under one embodiment the prior clean speech model is a Gaussian Mixture Model that is defined by a mixture weight, a mean, and a covariance for each of a set of mixture components. Using the model parameters for the clean speech and the noise, estimator 316 generates an estimate of a clean speech value and a noise value for each frame of the input speech signal at step 414. Under one embodiment, the estimates are Minimum Mean Square Error (MMSE) estimates that are computed as: {circumflex over (x)} _(t) =∫xp(x|y _(t), Λ_(x), Λ_(n))dx   EQ. 1 {circumflex over (n)} _(t) =∫np(n|y _(t), Λ_(x), Λ_(n))dn   EQ. 2 where {circumflex over (x)}_(t) is the MMSE estimate of the clean speech, {circumflex over (n)}₁ is the MMSE estimate of the noise, x is a clean speech value, n is a noise value, y, is the observation feature vector, Λ_(n) represents the parameters of the noise model, and Λ_(x) represents the parameters of the clean speech model.

At steps 416, the clean speech estimate and the noise estimate, which are in the cepstral domain, are applied to an inverse discrete cosine transform 317. The results of the inverse discrete cosine transform are applied to an exponential function 318 at step 418. This produces spectral values for the clean speech estimate and the noise estimate.

At step 420, the spectral values for the clean speech estimate and the noise estimate are smoothed over time and frequency by a smoothing block 322. The smoothing over time involves smoothing each frequency value in the spectral values across different frames of the speech signal. Under one embodiment, the smoothing over frequency involves averaging values of neighboring frequency bins within a frame and placing the average value at a frequency position that is in the center of the frequency bins used to form the average value.

The smoothed spectral values for the estimate of the clean speech signal and the estimate of the noise are then used to determine the gain for a Weiner filter 326 at step 422. Under one embodiment, the gain of the Weiner filter is set as: $\begin{matrix} {{{H\left( {t,f} \right)}} = \frac{{{{\hat{P}}_{x}\left( {t,f} \right)}}^{2} + {\left( {1 - \alpha} \right){{{\hat{P}}_{n}\left( {t,f} \right)}}^{2}}}{{{{\hat{P}}_{x}\left( {t,f} \right)}}^{2} + {{{\hat{P}}_{n}\left( {t,f} \right)}}^{2}}} & {{EQ}.\quad 3} \end{matrix}$ where |H(t, f)| is the gain of the Weiner filter, |{circumflex over (P)}_(x)(t, f)|² is the power spectrum of the clean speech estimate, |{circumflex over (P)}_(n)(t, f)|² is the power spectrum of the noise estimate, and α is factor that avoids over estimation of the noise spectra. Values for α vary from 0.6 to 0.95 according to the local SNR computed from the ratio of |{circumflex over (P)}_(x)(t, f)|² to |{circumflex over (P)}_(n)(t, f)|² t and f are time and frequency indices, respectively. If the Mel-Scale filter bank was used, f is the indices of the filter bank.

In Equation 3, actual estimates of the noise and clean speech are used in the denominator. In addition, the estimate of the noise in the numerator is multiplied by the factor 1-α such that the product is always guaranteed to be positive. This ensures that the gain will be positive regardless of the value estimated for the noise. This makes the system of the present invention much more stable than spectral subtraction systems and does not require the setting of as many parameters as spectral subtraction.

Once the filter gain has been determined at step 422, the power spectrum of the noisy frequency domain values produced by magnitude block 305 or Mel-Scale filter bank 306 is applied to the Weiner filter at step 424 to produce a filtered clean speech power spectrum. Specifically: |{tilde over (P)} _(x)(t, f)|² =|P _(y)(t, f)| ² ·|H(t, f)|  EQ. 4 where |H(t, f)| is the gain of the Weiner filter, |{tilde over (P)}_(x)(t, f)|² is the filtered clean speech power spectrum, and |P_(y)(t, f)|² is the power spectrum of the noisy speech signal.

At step 426, the filtered clean speech power spectrum 328 can be used to generate a clean speech signal that is to be heard by a user or it can be applied to a feature extraction unit 330, such as a Mel-Frequency Cepstral Coefficient feature extraction unit, as pre-processing for speech recognition.

Joint Model for Speech and Noise

It is assumed that the speech and noise waveforms mix linearly in the time domain. As a result of this assumption, it is common to model the noisy cepstral features y as a first order Taylor series in x and n. $\begin{matrix} {y = {{A\left( {x_{0},n_{0}} \right)} + {{G\left( {x_{0},n_{0}} \right)}\left( {x - x_{0}} \right)} + {\left( {I - {G\left( {x_{0},n_{0}} \right)}} \right)\left( {n - n_{0}} \right)} + ɛ}} & {{EQ}.\quad 5} \\ {{A\left( {x,n} \right)} = {C\quad{\log\left( {{\exp\left( {C^{- 1}x} \right)} + {\exp\left( {C^{- 1}n} \right)}} \right)}}} & {{EQ}.\quad 6} \\ {{G\left( {x,n} \right)} = {C\frac{1}{{\exp\left( {C^{- 1}\left( {n - x} \right)} \right)} + 1}C^{- 1}}} & {{EQ}.\quad 7} \end{matrix}$

The symbol I denotes the identity matrix. From now on, we will use the shorthand notation A₀=A(x₀, n₀) and G₀=G(x₀, n₀). In practice, it is useful to set all of the off-diagonal elements of G₀ to zero. This reduces computational requirements drastically, while introducing a slight increase in distortion.

Assuming the residual error term ε is an independent Gaussian, this induces a Gaussian probability distribution on y given x and n. p(y|x, n)=N(y; μ_(y), Σ₆₈)   EQ. 8 μ_(y) =A ₀ +G ₀(x ₁ −x ₀)+(1−G ₀)(n ₁ −n ₀)   EQ. 9

Before using this model to enhance speech, it is necessary to add a prior model for speech, Λ_(x), and a prior model for noise, Λ_(n). Under one embodiment of the present invention, the prior model for speech is a Gaussian mixture morel, and the prior model for noise is a single Gaussian component: p(x, i)=N(y; m _(x)(i), Σ_(x)(i))c _(i)   EQ. 10 p(n)=N(y; m _(n), Σ_(n))   EQ. 11

Finally, the joint model of noisy observation, clean speech, noise, and speech state is: p(y, x, n, i|Λ _(x), Λ_(n))=p(y|x, n)p(x, i)p(n)   EQ. 12

The joint model of equation 12 can be manipulated to produce several formulae useful in estimating clean speech, noise, and speech state from the noisy observation.

First, the clean speech state can be inferred as: p(i|y)=N(y; μ_(y)(i), Σ_(y)(i))   EQ. 13 μ_(y)(i)=A ₀ +G ₀(m _(x)(i)−x ₀)+(I−G ₀)(m _(n) −n ₀)   EQ. 14 Σ_(y)(i)=(I−G ₀)Σ_(n)(I−G ₀)′+G ₀Σ_(x) G ₀′+Σ_(ε)  EQ. 15

Second, the clean speech vector can be inferred as: p(x|y, i)=N(x; μ_(x|y)(i), Σ_(x|y)(i))   EQ. 16 μ_(x|y)(i)=m _(x)(i)+(Σ_(y)(i))⁻¹ G ₀Σ_(x)(i)(y−μ_(y)(i))   EQ. 17 Σ_(x|y)(i)=(Σ_(y)(i))⁻¹((I−G ₀)Σ_(n)(I−G ₀)′+Σ_(ε))Σ_(x)(i)   EQ. 18

Third, the noise vector can be inferred as: p(n|y, i)=N(x; μ_(n|y)(i)Σ_(n|y)(i))   EQ. 19 μ_(n|y)(i)=m _(n)+(Σ_(y)(i))⁻¹(I−G ₀)Σ_(n)(y−μ_(y)(i))   EQ. 20 Σ_(n|y)(i)=(Σ_(y)(i))⁻¹(G ₀Σ_(x)(i)G ₀′+Σ_(ε))Σ_(n)   EQ. 21

ML Estimation of Noise Distribution

Step 412, in which a Maximum Likelihood estimate of the noise distribution is determined, involves identifying parameters, Λ_(n), that maximize the joint probability P(Y, X, N, I|Λ_(x), Λ_(n)) given y_(t) and Λ_(x), where Y is the sequence of observation vectors, X is the sequence of clean speech vectors, N is the sequence of noise vectors, I is the sequence of mixture component indices, Λ_(x) represents the parameters of the clean speech model, which consist of mixture component weights c_(i), mixture component means m_(x)(i), and mixture component covariances Σ_(x)(i), and Λ_(n) represents the parameters of the noise model, which consist of a mean m_(n), and a covariance Σ_(n).

Under one embodiment of the present invention, an iterative Expectation-Maximization algorithm is used to identify the parameters of the noise model. Specifically, the parameters are updated during the M-step of the EM algorithm as: $\begin{matrix} {{\hat{m}}_{n} = \frac{\sum\limits_{t}{\sum\limits_{i}{{p\left( {i❘y_{t}} \right)}{\mu_{n❘y}(i)}}}}{\sum\limits_{t}{\sum\limits_{i}{p\left( {i❘y_{t}} \right)}}}} & {{EQ}.\quad 22} \\ {\hat{\sum\limits_{n}}{= {{diag}\left\lbrack {\frac{\sum\limits_{t}{\sum\limits_{i}{{p\left( {i❘y_{t}} \right)}\left\lbrack {{{\mu_{n❘y}(i)}{\mu_{n❘y}(i)}^{\prime}} + {\sum\limits_{n❘y_{1}}(i)}} \right\rbrack}}}{\sum\limits_{t}{\sum\limits_{i}{p\left( {i❘y_{t}} \right)}}} - {{\hat{m}}_{n}{\hat{m}}_{n}^{\prime}}} \right\rbrack}}} & {{EQ}.\quad 23} \end{matrix}$ where the notation ( )′ indicates a transpose, t is a frame index, i is a mixture component index, {circumflex over (m)}_(n) is the updated mean of the noise model, m_(n) is the past mean of the noise model, {circumflex over (Σ)}_(n) is the updated covariance of the noise model, p(i|y_(t)) is a posterior mixture component probability (defined in equations 13-15), and μ_(n|y) _(t) (i) and Σ_(n|y) _(t) (i) are a mean and covariance for a posterior distribution, defined in equations 20 and 21.

The covariance matrix, Σ_(ε), of the residue error can be derived with an iterative EM process by: $\begin{matrix} {\hat{\sum\limits_{ɛ}}{= {{diag}\left\lbrack \frac{\sum\limits_{t}{\sum\limits_{i}{{p\left( {i❘y_{t}} \right)}E\left\{ {{{ɛ_{t}ɛ_{t}^{\prime}}❘y_{t}},i} \right\}}}}{\sum\limits_{t}{\sum\limits_{i}{p\left( {i❘y_{t}} \right)}}} \right\rbrack}}} & {{EQ}.\quad 24} \end{matrix}$ where E{ε_(t)ε_(t)′|y_(t),i} is the expectation of the residue error. Under one embodiment, this exact estimation is not adopted because it involves a large number of computations and because it requires stereo training data that includes both noisy speech and clean speech in order to collect training samples of the residue so that the expected value of the residue can be determined. Instead, the covariance is either set to zero or approximated as: $\begin{matrix} {\hat{\sum\limits_{ɛ}}{\max\left( {0,{\sum\limits_{ɛ}{+ {{diag}\left\lbrack \frac{{\sum\limits_{t}{\sum\limits_{i}{{p\left( {i❘y_{t}} \right)}\text{[}\left( {y_{t} - {\mu_{y}(i)}} \right)\left( {y_{t} - {\mu_{y}(i)}} \right)^{\prime}}}} - {\sum\limits_{y}(i)}}{\sum\limits_{t}{\sum\limits_{i}{p\left( {i❘y_{t}} \right)}}} \right\rbrack}}}} \right)}} & {{EQ}.\quad 25} \end{matrix}$ where the max operation ensures that the values of the matrix are non-negative. Note that equation 25 does not require stereo training data. Instead the covariance is set directly from the observation vectors.

The convergence of equations 22 and 23 becomes very slow if Σ_(n), is small. Under one embodiment, this is overcome by maximizing P(Y, I|Λ_(x)Λ_(n)) instead of P(Y, X, N, I|Λ_(x)Λ_(n)). By setting the derivative of the corresponding auxiliary function with respect to m_(n) to zero, the update for the mean becomes: $\begin{matrix} {{\hat{m}}_{n} = {m_{n} + \frac{\sum\limits_{t}{\sum\limits_{i}{{p\left( {i❘y_{t}} \right)}\left( {I - G_{0}} \right){\sum\limits_{y}^{- 1}{(i)\left( {y_{t} - {\mu_{y}(i)}} \right)}}}}}{\sum\limits_{t}{\sum\limits_{i}{{p\left( {i❘y_{t}} \right)}\left( {I - G_{0}} \right){\sum\limits_{y}^{- 1}(i)}}}}}} & {{EQ}.\quad 26} \end{matrix}$

The update for the covariance {circumflex over (Σ)}_(n) remains the same as shown in Equation 23. Note that in Equation 26, the covariance of the noise model Σ_(n) has been removed from the numerator, making the update converge faster if the covariance Σ_(n) is small.

MMSE Estimation of Clean Speech and Noise

Once the noise model has been constructed, an estimate of the noise for each frame is computed as: {circumflex over (n)} _(t) =∫np(n|y _(t))dn=Σ_(i) p(i|y _(t))∫np(n|y _(t) , i)dn=Σ_(i) p(i|y _(t))μ_(n|y)(i)   EQ. 27 Similarly, the estimate of the clean speech signal is computed as: {circumflex over (x)} _(t)=Σ_(t) p(i|y _(t))μ_(x|y)(i)   EQ. 28

Simplified Determination of Model Parameters and Estimates of Clean Speech and Noise

Under one embodiment, the ML computations and the noise and clean speech estimations described above are simplified. A flow diagram of the simplified technique is shown in FIG. 5.

At step 500 of FIG. 5, an observation vector for a frame is selected. At step 502, the posterior probability p(i|y,) for each mixture component i is computed. The mixture component with the highest posterior probability is then selected at step 504. Instead of using all of the mixture components in computing the noise estimate, only the selected mixture component is used.

At step 506, a variable ddnx₀ is initialized for the frame. This variable is defined as: ddnx ₀=(n ₀ −x ₀(i))−(m _(n) −m _(x)(i))   EQ. 29 However, it is not computed explicitly using this definition.

For the first frame, ddnx₀ is initialized to zero. For each subsequent frame, the initial value for ddnx₀ is set to the value in the past frame plus the difference between the mean of the posterior of the selected mixture component in the current frame and the mean of the posterior of the selected mixture component in the past frame. Note that different mixture components may be selected in different frames.

After ddnx₀ has been initialized, it is iteratively updated at steps 508 and 510 using an update equation of: ddnx ₀=(Σ_(y)(i))⁻¹((I−G ₀)Σ_(n) −G ₀Σ_(x)(i))(y−μ_(y)(i))   EQ. 30

After a desired number of iterations have been performed at step 510 (in one embodiment four iterations are used), the process continues at step 512 where the value for ddnx₀ is used to compute the clean speech and noise estimates for the frame according to the above equations, where G₀ can be computed from ddnx₀ according to equation 31, and equation 14 is modified according to equation 32. $\begin{matrix} {G_{0} = {C\frac{1}{{\exp\left( {C^{- 1}\left( {{d\quad d\quad n\quad x_{0}} + \left( {m_{n} - {m_{x}(i)}} \right)} \right)} \right)} + 1}C^{- 1}}} & {{EQ}.\quad 31} \\ {{\mu_{y}(i)} = {{m_{x}(i)} + {C\quad{\log\left( {1 + {\exp\left( {C^{- 1}\left( {{d\quad d\quad n\quad x_{0}} + \left( {m_{n} - {m_{x}(i)}} \right)} \right)} \right)}} \right)}} - {\left( {I - G_{0}} \right)d\quad d\quad n\quad x_{0}}}} & {{EQ}.\quad 32} \end{matrix}$

After the clean speech and noise estimates have been determined for the frame, the method determines if there are more frames to process at step 514. If there are more frames, the method returns to step 500 to select the next frame. If the last frame has been processed, the method ends after step 514.

Although the present invention has been described with reference to particular embodiments, workers skilled in the art will recognize that changes may be made in form and detail without departing from the spirit and scope of the invention. 

1. A method of identifying a clean speech signal from a noisy speech signal, the method comprising: receiving an observation vector representing a segment of a noisy speech signal; estimating a clean speech value and a noise value based on the observation vector; using the clean speech value and the noise value to set a gain for a filter; and applying the observation vector to the filter to produce a filtered clean speech vector representing a segment of a clean speech signal.
 2. The method of claim 1 wherein estimating a clean speech value and a noise value comprises using parameters that describe a distribution of noise values.
 3. The method of claim 2 further comprising determining the parameters of the distribution of noise values.
 4. The method of claim 3 wherein determining the parameters of the distribution of noise values comprises determining the parameters based on multiple segments of the noisy speech signal.
 5. The method of claim 3 wherein determining the parameters of the distribution of noise values comprises determining a mean of the distribution of noise values using an iteration.
 6. The method of claim 5 wherein determining a mean of the distribution of noise values using an iteration comprises at each iteration updating the mean by adding a value to the value of the mean in a past iteration, the value added to the mean not being computed based on a product formed between a covariance of the noise distribution and a difference between the observation vector and another value.
 7. The method of claim 1 wherein setting a gain for a filter comprises defining the gain as a ratio with the denominator of the ratio comprising the sum of the clean speech value and the noise value.
 8. The method of claim 7 wherein defining the gain as a ratio further comprises defining a ratio with a numerator that is a function of the clean speech value and the noise value.
 9. The method of claim 7 wherein defining the gain as a ratio comprises defining the ratio such that it is guaranteed to be positive if the clean speech value and the noise value are positive.
 10. The method of claim 1 wherein the observation vector has been formed without applying a frequency-based transform.
 11. The method of claim 1 wherein estimating a clean speech value and a noise value comprises using a parameter that describes the covariance of a residue error.
 12. The method of claim 11 further comprising determining the covariance of the residue error without using stereo training data.
 13. A computer-readable medium having computer-executable instructions for performing steps comprising: obtaining an estimate of a clean speech value and an estimate of a noise value derived from a noisy speech signal; setting a numerator of a filter gain ratio as a function of the clean speech value and the noise value; setting a denominator of the filter gain ratio as a function of the clean speech value and the noise value; using the filter gain ratio in a filter that is applied to the noisy speech signal.
 14. The computer-readable medium of claim 13 wherein obtaining an estimate of a noise value comprises estimating the noise value based in part on a parameter that describes a noise distribution.
 15. The computer-readable medium of claim 14 further comprising determining the parameter that describes the noise distribution.
 16. The computer-readable medium of claim 15 wherein determining the parameter that describes the noise distribution comprises using the noisy speech signal to determine the parameter.
 17. The computer-readable medium of claim 16 wherein determining the parameter comprises determining a mean iteratively, wherein each iteration utilizes an update equation that is formed by maximizing the joint probability of a sequence of observation vectors and a sequence of mixture component indices.
 18. The computer-readable medium of claim 13 wherein obtaining an estimate of a clean speech value and an estimate of a noise value comprises estimating a cepstral clean speech value and a cepstral noise value in a cepstral domain and converting the cepstral clean speech value and the cepstral noise value into the spectral domain to produce a spectral domain clean speech value and a spectral domain noise value.
 19. The computer-readable medium of claim 18 wherein obtaining an estimate of a clean speech value and an estimate of a noise value further comprises smoothing the spectral domain clean speech value and the spectral domain noise value across frequencies.
 20. The computer-readable medium of claim 18 wherein obtaining an estimate of a clean speech value and an estimate of a noise value further comprises smoothing the spectral domain clean speech value and the spectral domain noise value across time.
 21. The computer-readable medium of claim 13 wherein obtaining an estimate of the noise value comprises utilizing a parameter that describes a distribution for a residue error.
 22. The computer-readable medium of claim 21 further comprising determining the parameter that describes the distribution for the residue error without using clean speech training data.
 23. The computer-readable medium of claim 13 wherein setting a numerator comprises setting a numerator such that the numerator is guaranteed to be positive if the clean speech value and the noise value are positive. 